c program to find smallest of 3 numbers using nested if else